`timescale 1ns/100ps

module int_literal ();

integer a;
real b;

initial begin
    $monitor ("@ %gns a = %h", $time, a);
    #1 a = '0;  // Set all bits to 0
    #1 a = 'x;  // Set all bits to x
    #1 a = '1;  // Set all bits to 1
    #1 a = 'z;  // Set all bits to z
    #1 a = 'b0; // Equal to '0
    #1 a = 'bx; // Equal to 'x
    #1 a = 'b1; // Equal to '1
    #1 a = 'bz; // Equal to 'z
    #1 $finish;
end

endmodule
